package com.example.receivesms;

public class Contact {
	
	//private variables
	int _id;
	String _name;
	String _phone;
	String _acc_number;
	String _balance;
	
	//
	// Empty constructor
	public Contact(){
		
	}
	// constructor
	public Contact(int id, String name,  String phone, String _acc_number, String balance){
		this._id = id;
		this._name = name;
		this._acc_number = _acc_number;
		this._balance = balance;
		this._phone = phone;
	}
	
	// constructor
	public Contact(String name, String phone, String _acc_number, String balance){
		this._name = name;
		this._acc_number = _acc_number;
		this._balance = balance;
		this._phone = phone;
	}
	// getting ID
	public int getID(){
		return this._id;
	}
	
	// setting id
	public void setID(int id){
		this._id = id;
	}
	
	// getting name
	public String getName(){
		return this._name;
	}
	
	// setting name
	public void setName(String name){
		this._name = name;
	}
	
	// getting phone number
	public String getAccNumber(){
		return this._acc_number;
	}
	
	// setting phone number
	public void setAccNumber(String _acc_number){
		this._acc_number = _acc_number;
	}
	
	// getting balance
	public String getBalance(){
		return this._balance;
	}
	
	// setting balance
	public void setBalance(String balance){
		this._balance = balance;
	}
	
	public String get_phone() {
		return _phone;
	}
	public void set_phone(String _phone) {
		this._phone = _phone;
	}
	
}
